<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">

    <link rel="icon" href="../img/web/web.ico"/>
    <link rel="stylesheet" href="../layui/css/layui.css"/>
    <link rel="stylesheet" href="../css/app.css"/>
<body ontouchstart="">

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">

            <div class="layui-card">
                <div class="layui-card-header">水平导航菜单</div>
                <div class="layui-card-body">
                    <ul class="layui-nav">
                        <li class="layui-nav-item"><a href="">最新活动</a></li>
                        <li class="layui-nav-item layui-this">
                            <a href="javascript:;">产品</a>
                            <dl class="layui-nav-child">
                                <dd><a href="">选项1</a></dd>
                                <dd><a href="">选项2</a></dd>
                                <dd><a href="">选项3</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="">大数据</a></li>
                        <li class="layui-nav-item">
                            <a href="javascript:;">解决方案</a>
                            <dl class="layui-nav-child">
                                <dd><a href="">移动模块</a></dd>
                                <dd><a href="">后台模版</a></dd>
                                <dd class="layui-this"><a href="">选中项</a></dd>
                                <dd><a href="">电商平台</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="">社区</a></li>
                    </ul>
                </div>
            </div>

        </div>
        <div class="layui-col-md6">

            <div class="layui-card">
                <div class="layui-card-header">导航带徽章和图片</div>
                <div class="layui-card-body">
                    <ul class="layui-nav">
                        <li class="layui-nav-item">
                            <a href="">控制台<span class="layui-badge">9</span></a>
                        </li>
                        <li class="layui-nav-item">
                            <a href="">个人中心<span class="layui-badge-dot"></span></a>
                        </li>
                        <li class="layui-nav-item" lay-unselect="">
                            <a href="javascript:;"><img src="http://t.cn/RCzsdCq" class="layui-nav-img">我</a>
                            <dl class="layui-nav-child">
                                <dd><a href="javascript:;">修改信息</a></dd>
                                <dd><a href="javascript:;">安全管理</a></dd>
                                <dd><a href="javascript:;">退了</a></dd>
                            </dl>
                        </li>
                    </ul>
                </div>
            </div>

        </div>
        <div class="layui-col-md6">

            <div class="layui-card">
                <div class="layui-card-header">垂直导航菜单</div>
                <div class="layui-card-body">
                    <ul class="layui-nav layui-nav-tree layui-inline" lay-filter="demo" style="margin-right: 10px;">
                        <li class="layui-nav-item layui-nav-itemed">
                            <a href="javascript:;">默认展开</a>
                            <dl class="layui-nav-child">
                                <dd><a href="javascript:;">选项一</a></dd>
                                <dd><a href="javascript:;">选项二</a></dd>
                                <dd><a href="javascript:;">选项三</a></dd>
                                <dd><a href="">跳转项</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item">
                            <a href="javascript:;">解决方案</a>
                            <dl class="layui-nav-child">
                                <dd><a href="">移动模块</a></dd>
                                <dd><a href="">后台模版</a></dd>
                                <dd><a href="">电商平台</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="">云市场</a></li>
                        <li class="layui-nav-item"><a href="">社区</a></li>
                    </ul>
                    <ul class="layui-nav layui-nav-tree layui-bg-cyan layui-inline" lay-filter="demo">
                        <li class="layui-nav-item layui-nav-itemed">
                            <a href="javascript:;">默认展开</a>
                            <dl class="layui-nav-child">
                                <dd><a href="javascript:;">选项一</a></dd>
                                <dd><a href="javascript:;">选项二</a></dd>
                                <dd><a href="javascript:;">选项三</a></dd>
                                <dd><a href="">跳转项</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item">
                            <a href="javascript:;">解决方案</a>
                            <dl class="layui-nav-child">
                                <dd><a href="">移动模块</a></dd>
                                <dd><a href="">后台模版</a></dd>
                                <dd><a href="">电商平台</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="">云市场</a></li>
                        <li class="layui-nav-item"><a href="">社区</a></li>
                    </ul>
                </div>
            </div>

        </div>
        <div class="layui-col-md6">

            <div class="layui-card">
                <div class="layui-card-header">更多导航主题</div>
                <div class="layui-card-body">
                    <ul class="layui-nav layui-bg-cyan">
                        <li class="layui-nav-item"><a href="">藏青导航</a></li>
                        <li class="layui-nav-item layui-this"><a href="">产品</a></li>
                        <li class="layui-nav-item"><a href="">大数据</a></li>
                        <li class="layui-nav-item">
                            <a href="javascript:;">解决方案</a>
                            <dl class="layui-nav-child">
                                <dd><a href="">移动模块</a></dd>
                                <dd><a href="">后台模版</a></dd>
                                <dd><a href="">电商平台</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="">社区</a></li>
                    </ul>
                    <br>
                    <ul class="layui-nav layui-bg-green">
                        <li class="layui-nav-item"><a href="">墨绿导航</a></li>
                        <li class="layui-nav-item layui-this"><a href="">产品</a></li>
                        <li class="layui-nav-item"><a href="">大数据</a></li>
                        <li class="layui-nav-item">
                            <a href="javascript:;">解决方案</a>
                            <dl class="layui-nav-child">
                                <dd><a href="">移动模块</a></dd>
                                <dd><a href="">后台模版</a></dd>
                                <dd><a href="">电商平台</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="">社区</a></li>
                    </ul>
                    <br>
                    <ul class="layui-nav layui-bg-blue">
                        <li class="layui-nav-item"><a href="">艳蓝导航</a></li>
                        <li class="layui-nav-item layui-this"><a href="">产品</a></li>
                        <li class="layui-nav-item"><a href="">大数据</a></li>
                        <li class="layui-nav-item">
                            <a href="javascript:;">解决方案</a>
                            <dl class="layui-nav-child">
                                <dd><a href="">移动模块</a></dd>
                                <dd><a href="">后台模版</a></dd>
                                <dd><a href="">电商平台</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="">社区</a></li>
                    </ul>
                </div>
            </div>

        </div>
        <div class="layui-col-md6">

            <div class="layui-card">
                <div class="layui-card-header">面包屑</div>
                <div class="layui-card-body">
                    <span class="layui-breadcrumb">
                        <a href="javascript:;">首页</a>
                        <a href="javascript:;">演示</a>
                        <a><cite>导航元素</cite></a>
                    </span>
                    <br/>
                    <span class="layui-breadcrumb" lay-separator="%">
                        <a href="">首页</a>
                        <a href="">国际新闻</a>
                        <a href="">亚太地区</a>
                        <a><cite>正文</cite></a>
                    </span>
                    <br/>
                    <span class="layui-breadcrumb" lay-separator="|">
                        <a href="">娱乐</a>
                        <a href="">八卦</a>
                        <a href="">体育</a>
                        <a href="">搞笑</a>
                        <a href="">视频</a>
                        <a href="">游戏</a>
                        <a href="">综艺</a>
                    </span>
                </div>
            </div>

        </div>
    </div>
</div>

<script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript">
layui.use(['layer','element'],function(){
    var element = layui.element;

    //监听导航点击
    element.on('nav(demo)', function(elem){
        //console.log(elem)
        layer.msg(elem.text());
    });
});
</script>
</body>
</html>